package e.odbo.data.model.smaple;

import e.odbo.data.model.Column;
import e.odbo.data.model.ColumnType;
import e.odbo.data.model.I_ColumnGather;

public class SoftDeleteControlAble implements I_ColumnGather {
    public final static int TABLE_FLAG_SOFT_DEL=PK.TABLE_FLAG_PK<<4;

    public final static SoftDeleteControlAble Instance=new SoftDeleteControlAble();

    public final static String SOFT_DELETE="SOFT_DELETE";

    @Override
    public Column[] getColumns() {
        return new Column[]{
                Column.c(SOFT_DELETE, ColumnType.BOOLEAN.defaultV(false),"sys soft delete control").NotNull()
        };
    }

    @Override
    public int addTableFlags() {
        return TABLE_FLAG_SOFT_DEL;
    }
}
